﻿<UserControl x:Class="BTM_Client_Application.ErrorList"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="pack://application:,,,/Styles/DataGridStyle.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </UserControl.Resources>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="35"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <Border BorderThickness="1,1,1,0" BorderBrush="Gray" SnapsToDevicePixels="True">
            <Grid Name="FilterContainer" Grid.Row="0">
            
            </Grid>
        </Border>
        <DataGrid Name="DataList" CanUserAddRows="False" CanUserDeleteRows="False" IsReadOnly="True" SelectionUnit="FullRow" 
                  CanUserReorderColumns="False" CanUserResizeRows="False" HorizontalAlignment="Stretch" AutoGenerateColumns="False" 
                  VerticalAlignment="Stretch" Grid.Row="1" Style="{StaticResource DataGridStyle}">
            <DataGrid.RowStyle>
                <Style TargetType="DataGridRow">
                    <Setter Property="Background" Value="{Binding ItemBackground}"/>
                </Style>
            </DataGrid.RowStyle>
        </DataGrid>

    </Grid>
</UserControl>
